﻿Imports CookComputing.XmlRpc

Namespace XmlRpc
    <XmlRpcMissingMapping(MappingAction.Ignore)>
    <Serializable()>
    Public Class SearchFilters

        <XmlRpcMember("content_type:photo")>
        Public Property ContentTypePhoto As Integer = 0

        <XmlRpcMember("content_type:illustration")>
        Public Property ContentTypeIllustration As Integer = 0

        <XmlRpcMember("content_type:vector")>
        Public Property ContentTypeVector As Integer = 0

        <XmlRpcMember("content_type:all")>
        Public Property ContentTypeAll As Integer = 1

        <XmlRpcMember("offensive:2")>
        Public Property Offensive As Integer = 0

        <XmlRpcMember("isolated :on")>
        Public Property IsolatedContents As Integer = 0

        <XmlRpcMember("panoramic:on")>
        Public Property PanoramicImages As Integer = 0

        <XmlRpcMember("license_L:on")>
        Public Property LicenseL As Integer = 0

        <XmlRpcMember("license_XL:on")>
        Public Property LicenseXL As Integer = 0

        <XmlRpcMember("license_XXL:on")>
        Public Property LicenseXXL As Integer = 0

        <XmlRpcMember("license_V_HD1080:on")>
        Public Property LicenseVHD1080 As Integer = 0

        <XmlRpcMember("license_V_HD720:on")>
        Public Property LicenseVHD720 As Integer = 0

        <XmlRpcMember("license_X:on")>
        Public Property LicenseX As Integer = 0

        <XmlRpcMember("licence_E:on")>
        Public Property LicenseE As Integer = 0

        <XmlRpcMember("orientation")>
        Public Property Orientation As String = SearchOrientations.All

        <XmlRpcMember("age")>
        Public Property Age As String = SearchAges.All

    End Class
End Namespace